Skip to content

ci: split the runtime autostart tests so shards can share them - #276

Open
Mearman wants to merge 1 commit into
mainfrom
ci/split-autostart-tests
Open

Mearman wants to merge 1 commit into
mainfrom
ci/split-autostart-tests

Conversation

@Mearman

@Mearman Mearman commented Nov 26, 2026

Copy link
Copy Markdown
Member

Shard 4 of the unit tests can pass its 30 minute job timeout while its tests are still running and passing (run: cancelled partway through test_runtime_autostart, which had then run for over 20 minutes). The dealer assigns whole modules to shards, so one module holding nearly every role test cannot be spread out.

The role tests move into test_runtime_autostart_wedged.py, test_runtime_autostart_launchd.py and test_runtime_autostart_vm.py, over a fixture in runtime_autostart_support.py. Test bodies and helpers are unchanged: the syntax trees of the class members before and after the split are identical. The dealer puts the launchd module in a different shard from the other two.

Each shard takes whole modules, so one module holding nearly every role test set the floor of
its shard and pushed it past the job timeout. The role tests move, unchanged, into one module per
concern over a shared fixture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant